package com.nmsl.membership.mapper;

import java.util.List;
import com.nmsl.membership.domain.lyPatient;
import com.nmsl.membership.domain.Membership;
import com.nmsl.membership.domain.MembershipLevel;

/**
 * 会员设置Mapper接口
 * 
 * @author liuyan
 * @date 2025-02-15
 */
//会员设置
public interface MembershipLevelMapper 
{
    /**
     * 查询会员设置
     * 
     * @param levelId 会员设置主键
     * @return 会员设置
     */
    public MembershipLevel selectMembershipLevelByLevelId(Long levelId);

    /**
     * 查询会员设置列表
     * 
     * @param membershipLevel 会员设置
     * @return 会员设置集合
     */
    public List<MembershipLevel> selectMembershipLevelList(MembershipLevel membershipLevel);

    /**
     * 新增会员设置-------------------
     * 
     * @param membershipLevel 会员设置
     * @return 结果
     */

   public int insertMembershipLevel(MembershipLevel membershipLevel);

    /**
     * 修改会员设置
     * 
     * @param membershipLevel 会员设置
     * @return 结果
     */
    public int updateMembershipLevel(MembershipLevel membershipLevel);

    /**
     * 删除会员设置
     * 
     * @param levelId 会员设置主键
     * @return 结果
     */
    public int deleteMembershipLevelByLevelId(Long levelId);

    /**
     * 批量删除会员设置
     * 
     * @param levelIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMembershipLevelByLevelIds(Long[] levelIds);
}
